import axios from 'axios';
export function request(config) {
  const instance = axios.create({
    // baseURL: 'http://127.0.0.1:8081',
    
    baseURL: 'http://101.34.8.133:8081',
    timeout:5000
  });
  instance.interceptors.response.use(response => {
    return response.data
  });
  return instance(config)
}